﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataboundListExample.aspx.cs" Inherits="SelectionList_DataboundListExample" %>
<%@ Register TagPrefix="mobile" 
    Namespace="System.Web.UI.MobileControls"
    Assembly="System.Web.Mobile" %>
   
<mobile:Form runat="server" id="Form1">
    <mobile:Label id="Label1" runat="server" StyleReference="title">
        Season 2003 results
    </mobile:Label>
    <mobile:Label id="Label2" runat="server">
        Select 2 or more teams:
    </mobile:Label>
    <mobile:SelectionList id="SelectionList1" runat="server" 
        DataValueField="Stats" DataTextField="TeamName" 
        SelectType="MultiSelectListBox">
    </mobile:SelectionList>
    <mobile:Command id="Command1" runat="server">
        Compare Stats!
    </mobile:Command>
</mobile:Form>
   
<mobile:Form runat="server" id="Form2">
    <mobile:Label id="Label3" runat="server">Teams Full Stats:</mobile:Label>
    <mobile:TextView id="TextView1" runat="server"></mobile:TextView>
</mobile:Form>
